<html>
<head>
<title>
req - Helma Javascript Reference
</title>

<meta http-equiv="Content-Script-Type" content="text/javascript">
<script src="scripts.js"></script>
<link rel="stylesheet" href="styles.css" media="screen" />
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script type="text/javascript">_uacct = "UA-737027-2";urchinTracker();</script>
<style>
td {
    font-family: "Trebuchet MS", sans-serif; 
    font-size: 13px; 
    line-height:135%;
}
.columnheight {
    height: 1350px;
}
</style>
</head>
<body bgcolor="white">

<div class="frame">

<img class="home" onclick="location='http://dev.helma.org/'" src="helmaheader.gif" /><br />
<div class="lead">
    <p>Detailed reference of prototypes, properties and methods available in the <br />
    Javascript environment of your Helma web applications.</p>
</div>

<script> openbox('content') </script>


    <div class="content">
        <div class="docs">
        
            <!--
            <div class="sectionHead">Library: req.js</div>
            -->
            <div class="section overview">
            <!--
                <div class="itemTitle">
                    Overview
                </div>
            -->
                <div>   
                    <div class="desc">Default properties and methods of the req object.</div>
                    <div class="itemTags">
            <!--
                    <ul>
                        
                    
                    </ul>
            -->
                    </div>
                </div>
            </div>
            
            <!--
            <div class="sectionHead">Constructors</div>
            -->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <!--
            <div class="sectionHead">Namespaces</div>
            -->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <!--
            <div class="sectionHead">Properties</div>
            -->
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req"></a>
                    
                    <span class="type">RequestBean</span>
                    
                    
                    
                    
                        <i><span class="symbolname">req</span></i>
                    
                    
                </div>
                
                
                    <div class="desc">This object is automatically instantiated as the req property 
of the global object (or global.req) and there is no constructor 
to instantiate further instances.
<br /><br />
The req object is a host object representing the request  
that is currently handled by the scripting environment.
<p>For further details also see the JavaDocs for 
helma.framework.RequestBean. Since that class is a 
JavaBean all of its get- and set-methods are also directly 
available as properties of this object.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="http://adele.helma.org/download/helma/apidocs/api/helma/framework/RequestBean.html">Packages.helma.framework.RequestBean</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.action"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">action</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the name of the requested action
<br /><br />
The name without the suffix '_action' is provided. 
This property is read-only.
<br /><br />
Example:
<pre>res.write(req.action);
<i>edit</i></pre></div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.actionHandler"></a>
                    
                    <span class="type">Function</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">actionHandler</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">The function in charge of handling the current request.
<br /><br />
The req.actionHandler property allows the onRequest() 
method to set the function object to be invoked for 
handling the request, overriding the action resolved 
from the request path.</div>
                
                
                
                <div class="type">since: 1.7</div>
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.cookies"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">cookies</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the cookie request parameters.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.get">req.get</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.data">req.data</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.params">req.params</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.postParams">req.postParams</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.queryParams">req.queryParams</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.data"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">data</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Object containing any request parameters (GET, POST, Cookies, etc) and HTTP environmental variables.
<br /><br />
This object contains all passed request parameters as 
named properties, no matter whether these have been submitted 
as URL-parameters, as part of a HTTP POST request, or as 
cookie values.
<br /><br />
When more than one value is submitted for the same 
parameter name, req.data.paramname contains just a 
single (the first) value. That is why all parameters are 
additionally also provided with their values inside an 
array, through properites called req.data.paramname_array 
(the same parameter name, with an _array suffix attached). 
<br /><br />
Parameters can be grouped into objects using a "objectid[partid]"
syntax in the parameter name. For example, a parameter name of 
"foo[bar]" will result in a req.data.foo object being created. 
The actual parameter value will be available at req.data.foo.bar. 
This feature can be used recursively, meaning that a parameter 
named "foo[bar][dong]" will result in req.data.foo.bar.dong.
<br /><br />
Uploaded files are available in req.data as a MimePart object.
<br /><br />
Additionally Helma sets the following HTTP environment 
variables if they are available:
<br /><br />
<dl>
<dt>authorization</dt>
<dd>Equivalent to the variable 'authorization' sent in 
the request header.</dd>
<dt>http_browser</dt>
<dd>Name and version of the client browser. Equivalent 
to the variable 'User-Agent' sent in the request header.</dd>
<dt>http_host</dt>
<dd>Host name to which that request was sent to. 
Equivalent to the variable 'Host' sent in the request header.</dd>
<dt>http_language</dt>
<dd>Equivalent to the variable 'Accept-Language' sent 
in the request header.</dd>
<dt>http_language</dt>
<dd>Equivalent to the variable 'Accept-Language' sent 
in the request header.</dd>
<dt>http_remotehost</dt>
<dd>IP-Address of the client machine. Equivalent to a 
getRemoteAddr() call on the servletRequest.</dd>
<dt>http_referer</dt>
<dd>URL of the page the user came from. Equivalent to the 
variable 'Referer' sent in the request header.</dd>
<dt>http_get_remainder</dt>
<dd>Provides access to any bytes remaining after GET 
parameter parsing.</dd>
<dt>http_post_remainder</dt>
<dd>Provides access to any bytes remaining after POST 
parameter parsing.</dd>
</dl>
<br /><br />
All properties of req.data are read- and write-able.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.get">req.get</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.method"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">method</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the HTTP method (in uppercase letters) of the current request.
<br /><br />
Usually 'GET' or 'POST'. For non-web-requests this 
function will return one of the following: 'XMLRPC', 
'EXTERNAL' or 'INTERNAL'.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.isGet">req.isGet</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.isPost">req.isPost</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.params"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">params</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains any GET and POST request parameters.
<br /><br />
Combined properties of req.postParams and req.queryParams</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.get">req.get</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.data">req.data</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.postParams">req.postParams</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.queryParams">req.queryParams</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.cookies">req.cookies</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.password"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">password</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the decrypted basic authentication password.
<br /><br />
Only for requests that contain user credentials sent with 
'<a href="http://en.wikipedia.org/wiki/Basic_authentication_scheme">
basic authentication scheme</a>' method, typically as a result 
of a previously returned 401 HTTP response.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.username">req.username</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.path"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">path</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the path of the current request, relative to the application's mountpoint.
<br /><br />
Starts without a preceding slash. This property is read-only.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.uri">req.uri</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.postParams"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">postParams</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains any post request parameters.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.get">req.get</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.data">req.data</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.params">req.params</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.queryParams">req.queryParams</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.cookies">req.cookies</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.queryParams"></a>
                    
                    <span class="type">Object</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">queryParams</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains any GET request style query string parameters.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.get">req.get</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.data">req.data</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.params">req.params</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.postParams">req.postParams</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.cookies">req.cookies</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.runtime"></a>
                    
                    <span class="type">Number</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">runtime</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">The running time of the current request in milliseconds 
<br /><br />
Provides the amount of time that has elapsed since the 
start of the processing of the current request, measured 
in milliseconds (integer).</div>
                
                
                
                
                
                
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.uri"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">uri</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the full request URI path from the web server root.
<br /><br />
Compared to req.path, which only contains the path from 
wherever the application is mounted, req.uri provides easy
access to the full request URI. The purpose is to make it 
easy to link to the current page without having to invoke href().

For internal (non-HTTP) invocations, req.uri is null.</div>
                
                
                
                <div class="type">since: 1.7</div>
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.path">req.path</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="HopObject.html#HopObject.href">HopObject.href</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            <div class="section object">
                <div class="itemTitle">
                    <a name="req.username"></a>
                    
                    <span class="type">String</span>
                    
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">username</span></i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Contains the decrypted basic authentication username.
<br /><br />
Only for requests that contain user credentials sent with 
'<a href="http://en.wikipedia.org/wiki/Basic_authentication_scheme">
basic authentication scheme</a>' method, typically as a result 
of a previously returned 401 HTTP response.</div>
                
                
                
                
                
                
                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.password">req.password</a></div></td></tr>
                
                </table>
                

                <!-- if test="symbol.properties.length">
                <div class="detailHead">properties</div>
                <table class="params">
                
                </table>
                </if -->
            </div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            

            <!--
            <div class="sectionHead">Constructors</div>
            -->
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="sectionHead">Methods</div>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.get"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">get</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">An alternative method of accessing properties 
otherwise made available through the req.data object.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            as String, the request data property to read
                        </td> 
                    </tr>
                
                </table>
                
                
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.data">req.data</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.getHeader"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">getHeader</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the specified header value, or null
<br /><br />
If there are several headers by that name, the first header 
value is returned. Proxy to HttpServletRequest.getHeader().</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            as String, the header name
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            String the header value, or null
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.getHeaders">req.getHeaders</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.getHeaders"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">getHeaders</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns an Array of all header values by the specified name
<br /><br />
Proxy to HttpServletRequest.getHeaders(), returns header 
values as string array.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            as String, the header name
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Array of Strings containing the header values
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.getHeader">req.getHeader</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.getIntHeader"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">getIntHeader</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the specified header value as a Number
<br /><br />
Proxy to HttpServletRequest.getIntHeader(), fails 
silently by returning -1.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            as String, the header name
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Number the header parsed as integer or -1
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.getDateHeader"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">getDateHeader</span>(<span class="signature">name</span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns the specified header value as a Date object
<br /><br />
Proxy to HttpServletRequest.getDateHeader(), fails 
silently by returning -1.</div>
                

                
                
                
                
                
                <div class="detailHead">parameters</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            String
                        </td>
                        <td>
                            name
                        </td>
                        <td>
                            as String,  the header name
                        </td> 
                    </tr>
                
                </table>
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Date the date in milliseconds, or -1
                        </td> 
                    </tr>
                
                </table>
                
                
                

                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.isGet"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">isGet</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if the current request is a HTTP GET request, false otherwise.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Boolean
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.isPost">req.isPost</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.method">req.method</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.isPost"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">isPost</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Returns true if the current request is a HTTP POST request, false otherwise.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Boolean
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.isGet">req.isGet</a></div></td></tr>
                
                    <tr><td class="type"><div class="see"><a href="req.html#req.method">req.method</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
            <div class="section function">
                <div class="itemTitle">
                    <a name="req.getServletRequest"></a>
                    
                    
                        <i><a href="#req" class="type">req</a>.
                        <span class="symbolname">getServletRequest</span>(<span class="signature"></span>)</i>
                    
                    
                    
                </div>
                
                
                    <div class="desc">Provides access to the HttpServletRequest object
<br /><br />
Returns an instance of the Java HttpServletRequest 
Class corresponding to the current request, which allows 
full access to the methods of that class.</div>
                

                
                
                
                
                
                
                
                <div class="detailHead">returns</div>
                <table class="params">
                
                    <tr>
                        <td class="type">
                            
                        </td>
                        <td>
                            Packages.javax.servlet.http.HttpServletRequest object of the current request
                        </td> 
                    </tr>
                
                </table>
                
                
                

                
                <div class="detailHead">see</div>
                <table class="params">
                
                    <tr><td class="type"><div class="see"><a href="http://google.com/search?q=javax.servlet.http.HttpServletRequest">Packages.javax.servlet.http.HttpServletRequest</a></div></td></tr>
                
                </table>
                

            </div>
            
            
            
        </div>
    </div>
    <div class="finePrint">
    Fri, 05 Feb 2010 17:40:04 GMT.
    </div>

<script> closebox() </script>

<script> openbox('pageintro') </script>

    <h3>core framework</h3>
        <ul>            
            <li><a href="global.html">global</a></li>
            <li><a href="app.html">app (application)</a></li>
            <li><a href="req.html">req (request)</a></li>
            <li><a href="res.html">res (response)</a></li>
            <li><a href="session.html">session</a></li>
            <li><a href="global.html#path">path</a></li>
            <li><a href="global.html#root">root</a></li>
            <li><a href="HopObject.html">HopObject</a></li>
            <li><a href="User.html">User</a></li>
            <li><a href="File.html">File</a></li>
            <li><a href="FtpClient.html">FtpClient</a></li>
            <li><a href="Image.html">Image</a></li>
            <li><a href="Mail.html">Mail</a></li>
            <li><a href="global.html#Remote">Remote</a></li>
            <li><a href="Xml.html">Xml</a></li>
            <li><a href="DatabaseObject.html">DatabaseObject</a></li>
            <li><a href="MimePart.html">MimePart</a></li>
            <li><a href="Skin.html">Skin</a></li>
            <li><a href="global.html#Object.dontEnum">Object</a></li>
        </ul>
        
    <h3>optional modules</h3>
        <ul>            
            <li><a href="ArrayExtensions.html">Array extensions</a></li>
            <li><a href="DateExtensions.html">Date extensions</a></li>
            <li><a href="NumberExtensions.html">Number extensions</a></li>
            <li><a href="ObjectExtensions.html">Object extensions</a></li>
            <li><a href="StringExtensions.html">String extensions</a></li>
            <li><a href="HopObjectExtensions.html">HopObject extensions</a></li>
            <li><a href="GlobalMacros.html">global macros</a></li>
            <li><a href="MacroFilters.html">macro filters</a></li>
            <li><a href="JSON.html">JSON methods</a></li>
            <br />
            <li><a href="helma.Aspects.html">helma.Aspects</a></li>
            <li><a href="helma.Chart.html">helma.Chart</a></li>
            <li><a href="helma.Color.html">helma.Color</a></li>
            <li><a href="helma.Database.html">helma.Database</a></li>
            <li><a href="helma.File.html">helma.File</a></li>
            <li><a href="helma.Ftp.html">helma.Ftp</a></li>
            <li><a href="helma.Group.html">helma.Group</a></li>
            <li><a href="helma.Html.html">helma.Html</a></li>
            <li><a href="helma.Http.html">helma.Http</a></li>
            <li><a href="helma.Image.html">helma.Image</a></li>
            <li><a href="helma.Mail.html">helma.Mail</a></li>
            <li><a href="helma.Search.html">helma.Search</a></li>
            <li><a href="helma.Skin.html">helma.Skin</a></li>
            <li><a href="helma.Ssh.html">helma.Ssh</a></li>
            <li><a href="helma.Url.html">helma.Url</a></li>
            <li><a href="helma.Zip.html">helma.Zip</a></li>
            <br />
            <li><a href="jala.BitTorrent.html">jala.BitTorrent</a></li>
            <li><a href="jala.Captcha.html">jala.Captcha</a></li>
            <li><a href="jala.Date.html">jala.Date</a></li>
            <li><a href="jala.db.html">jala.db</a></li>
            <li><a href="jala.DnsClient.html">jala.DnsClient</a></li>
            <li><a href="jala.Form.html">jala.Form</a></li>
            <li><a href="jala.History.html">jala.History</a></li>
            <li><a href="jala.HopObjectExtensions.html">jala HopObject extensions</a></li>
            <li><a href="jala.HtmlDocument.html">jala.HtmlDocument</a></li>
            <li><a href="jala.I18n.html">jala.I18n</a></li>
            <li><a href="jala.ImageFilter.html">jala.ImageFilter</a></li>
            <li><a href="jala.IndexManager.html">jala.IndexManager</a></li>
            <li><a href="jala.ListRenderer.html">jala.ListRenderer</a></li>
            <li><a href="jala.Mp3.html">jala.Mp3</a></li>
            <li><a href="jala.PodcastWriter.html">jala.PodcastWriter</a></li>
            <li><a href="jala.RemoteContent.html">jala.RemoteContent</a></li>
            <li><a href="jala.Rss20Writer.html">jala.Rss20Writer</a></li>
            <li><a href="jala.Utilities.html">jala.Utilities</a></li>
            <li><a href="jala.XmlRpcRequest.html">jala.XmlRpcRequest</a></li>
            <li><a href="jala.XmlWriter.html">jala.XmlWriter</a></li>
        </ul>
    
    <h3>java libraries</h3>
        <ul>            
            <li><a href="http://www.docjar.org/">docjar search</a></li>
        </ul>

    <h3>properties files</h3>
        <ul>            
            <li><a href="http://dev.helma.org/docs/Properties+Files/apps.properties/">apps.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/app.properties/">app.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/server.properties/">server.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/db.properties/">db.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Properties+Files/class.properties/">class.properties</a></li>
            <li><a href="http://dev.helma.org/docs/Type.properties+Documentation/">type.properties</a></li>
         </ul>
    
<script> closebox() </script>

</div>
<br clear="all" /><br /><br />



</body>
</html>
